package com.ly.heart.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 金蝶-询价/报价单明细分录信息对象 erp_king_inquiry_detail_entry_info
 *
 * @author cxl
 * @date 2024-07-11
 */
@TableName ("erp_king_inquiry_detail_entry_info")
@ApiModel (value = "金蝶-询价/报价单明细分录信息", description = "金蝶-询价/报价单明细分录信息")
@Data
@Accessors(chain = true)
public class KingInquiryDetailEntryEntity {


        /** 主键id */
        @TableId (type = IdType.INPUT)
        private String id;

        /** 询价/报价单id */
        @ApiModelProperty ("询价/报价单id")
        @TableField ("inquiry_id")
        @Excel (name = "询价/报价单id")
        private String inquiryId;

        /** 物料明细id */
        @ApiModelProperty ("物料明细id")
        @TableField ("detail_id")
        @Excel (name = "物料明细id")
        private String detailId;

        /** 物料编码 */
        @ApiModelProperty ("物料编码")
        @TableField ("material_code")
        @Excel (name = "物料编码")
        private String materialCode;

        /** 规格型号 */
        @ApiModelProperty ("规格型号")
        @TableField ("material_model")
        @Excel (name = "规格型号")
        private String materialModel;

        /** 辅助属性 */
        @ApiModelProperty ("辅助属性")
        @TableField ("auxiliary_properties")
        @Excel (name = "辅助属性")
        private String auxiliaryProperties;

        /** 需求组织 */
        @ApiModelProperty ("需求组织")
        @TableField ("require_org")
        @Excel (name = "需求组织")
         private String requireOrg;

        /** 需求部门 */
        @ApiModelProperty ("需求部门")
        @TableField ("require_dept")
        @Excel (name = "需求部门")
         private String requireDept;

        /** 比价关联数量 */
        @ApiModelProperty ("比价关联数量")
        @TableField ("compare_related_num")
        @Excel (name = "比价关联数量")
        private Integer compareRelatedNum;

        /** 询价数量 */
        @ApiModelProperty ("询价数量")
        @TableField ("inquiry_num")
        @Excel (name = "询价数量")
        private Integer inquiryNum;

        /** 询价单位 */
        @ApiModelProperty ("询价单位")
        @TableField ("inquiry_unit")
        @Excel (name = "询价单位")
        private String inquiryUnit;

        /** 到货日期 */
        @ApiModelProperty ("到货日期")
        @TableField ("arrival_time")
        @JsonFormat (pattern = "yyyy-MM-dd")
        @Excel (name = "到货日期", width = 30, dateFormat = "yyyy-MM-dd")
        private Date arrivalTime;

        /** 交货方式 */
        @ApiModelProperty ("交货方式")
        @TableField ("delivery_method")
        @Excel (name = "交货方式")
        private String deliveryMethod;

        /** 交货地点 */
        @ApiModelProperty ("交货地点")
        @TableField ("delivery_address")
        @Excel (name = "交货地点")
        private String deliveryAddress;

        /** 订单关联数量 */
        @ApiModelProperty ("订单关联数量")
        @TableField ("order_related_num")
        @Excel (name = "订单关联数量")
        private Integer orderRelatedNum;

        /** 确认数量 */
        @ApiModelProperty ("确认数量")
        @TableField ("confirm_num")
        @Excel (name = "确认数量")
        private Integer confirmNum;

        /** 确认单价 */
        @ApiModelProperty ("确认单价")
        @TableField ("confirm_price")
        @Excel (name = "确认单价")
        private String confirmPrice;

        /** 确认含税单价 */
        @ApiModelProperty ("确认含税单价")
        @TableField ("confirm_tax_price")
        @Excel (name = "确认含税单价")
        private String confirmTaxPrice;

        /** 确认供应商 */
        @ApiModelProperty ("确认供应商")
        @TableField ("confirm_supplier")
        @Excel (name = "确认供应商")
        private String confirmSupplier;

        /** 源单类型 */
        @ApiModelProperty ("源单类型")
        @TableField ("source_doc_type")
        @Excel (name = "源单类型")
        private String sourceDocType;

        /** 源单编号 */
        @ApiModelProperty ("源单编号")
        @TableField ("source_doc_code")
        @Excel (name = "源单编号")
        private String sourceDocCode;

        /** 报价数量（报价单才有） */
        @TableField ("quotation_num")
        @ApiModelProperty ("报价数量（报价单才有）")
        private Integer quotationNum;

        /** 单价（报价单才有） */
        @TableField ("price")
        @ApiModelProperty ("单价（报价单才有）")
        private String price;

        /** 含税单价（报价单才有） */
        @TableField ("contain_tax_price")
        @ApiModelProperty ("含税单价（报价单才有")
        private String containTaxPrice;

        /** 税率（报价单才有） */
        @TableField ("tax")
        @ApiModelProperty ("税率（报价单才有）")
        @Excel (name = "税率", readConverterExp = "报=价单才有")
        private String tax;
        /** 备注 */
        @ApiModelProperty ("备注")
        @TableField ("remark")
        @Excel (name = "备注")
        private String remark;

        /** 金额（报价单才有） */
        @TableField ("money")
        @ApiModelProperty ("金额（报价单才有）")
        private String money;

        /** 含税金额（报价单才有） */
        @TableField ("tax_money")
        @ApiModelProperty ("含税金额（报价单才有）")
        private String taxMoney;

        /** 询报价结果（报价单才有） */
        @TableField ("result")
        @ApiModelProperty (" 询报价结果（报价单才有）")
        private String result;

        /** 含税单价 */
        @ApiModelProperty ("含税单价")
        @TableField ("tax_price")
        @Excel (name = "含税单价")
        private String taxPrice;

        /** 确认意见（报价单才有） */
        @TableField ("confirm_comment")
        @ApiModelProperty ("确认意见（报价单才有）")
        @Excel (name = "确认意见", readConverterExp = "报=价单才有")
        private String confirmComment;

}
